package com.cloud.servicefeign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

@FeignClient(value = "EUREKA-CLIENT",fallback = FeignError.class)
public interface FeignService {

    @GetMapping("/hi")
    String index();

}
